package com.flyqiu.common.exception.file;

import java.io.File;

public class FlyQiuFileNotFoundException extends FlyQiuBaseFileException {


    public FlyQiuFileNotFoundException(String file) {
        super(file);

    }

    public FlyQiuFileNotFoundException(File file) {
        super(file);

    }

    @Override
    public String getMessage() {
        return "文件路径不存在：" + filePath;
    }

    @Override
    public String getLocalizedMessage() {
        return super.getLocalizedMessage();
    }
}
